<%@ include file="/taglibs.jsp"%>

<title><fmt:message key="groupList.title"/></title>

<s:set name="groups" value="groups" scope="request"/>
<div align="right">
	<button onclick="location.href='editGroup.html'" style="text-align: center;">
		<fmt:message key="button.add.title"></fmt:message>
		<img src="${ctx}/images/btn_add.png" align="left" height="20" width="20">
	</button>
</div>

<display:table name="groups" class="table" requestURI="" id="groupList"  pagesize="10">
	    <display:column href="editGroup.html" property="name" media="html" paramId="id" paramProperty="id" sortable="true" titleKey="group.name" escapeXml="true">
    	</display:column>
	    <display:column property="description" media="html" sortable="true" titleKey="group.description" escapeXml="true">
    	</display:column>
</display:table>

<button onclick="location.href='editGroup.html'" style="text-align: center;">
	<fmt:message key="button.add.title"></fmt:message>
	<img src="${ctx}/images/btn_add.png" align="left" height="20" width="20">
</button>

<script type="text/javascript">highlightTableRows("groupList");</script>